<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link type="text/css"
	href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"
	rel="stylesheet" />

<title>Schedule</title>
</head>
<body>
	<div class="jumbotron">
		<div class="container">
			<h1>New Schedule Page</h1>
			<form:form method="GET" commandName="studentModel"
				action="${pageContext.request.contextPath}/signupSchedule.html">


				<form:hidden path="student.firstName" value="${student[0] }" />
				<form:hidden path="student.lastName" value="${student[1] }" />
				<form:hidden path="student.email" value="${student[2] }" />
				<form:hidden path="student.gender" value="${student[3] }" />
				<form:hidden path="student.dateOfBirth" value="${dob }" />
				<table>
					<tr>
						<td>Sunday:</td>

						<td><form:select path="arrs[1]" items="${numbers}">
							</form:select> :<form:select path="arrs[2]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[3]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[4]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[5]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[6]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Monday:</td>

						<td><form:select path="arrs[7]" items="${numbers}">
							</form:select> :<form:select path="arrs[8]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[9]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[10]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[11]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[12]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Tuesday:</td>

						<td><form:select path="arrs[13]" items="${numbers}">
							</form:select> :<form:select path="arrs[14]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[15]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[16]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[17]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[18]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Wednesday:</td>

						<td><form:select path="arrs[19]" items="${numbers}">
							</form:select> :<form:select path="arrs[20]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[21]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[22]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[23]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[24]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Thursday:</td>

						<td><form:select path="arrs[25]" items="${numbers}">
							</form:select> :<form:select path="arrs[26]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[27]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[28]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[29]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[30]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Friday:</td>

						<td><form:select path="arrs[31]" items="${numbers}">
							</form:select> :<form:select path="arrs[32]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[33]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[34]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[35]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[36]" items="${AMPM}">
							</form:select></td>

					</tr>
					<tr>
						<td>Saturday:</td>

						<td><form:select path="arrs[37]" items="${numbers}">
							</form:select> :<form:select path="arrs[38]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[39]" items="${AMPM}">
							</form:select> <label>To: </label> <form:select path="arrs[40]"
								items="${numbers}">
							</form:select> :<form:select path="arrs[41]" items="${fifteens}">
							</form:select> <label> </label> <form:select path="arrs[42]" items="${AMPM}">
							</form:select></td>

					</tr>



				</table>
				<input type="submit" value="Submit" />
			</form:form>
		</div>
	</div>
</body>
</html>